<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>enchant2</Name>
        <Homepage>https://abiword.github.io/enchant/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <PartOf>office.spellcheck</PartOf>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>Spellchecker wrapping library</Summary>
        <Description>enchant is a library that wraps other spell checking backends.</Description>
        <Archive sha1sum="1f0f0cb4862a76157dfeb7f966909aa6ea2d7811" type="targz">
            https://github.com/AbiWord/enchant/releases/download/v2.3.3/enchant-2.3.3.tar.gz
        </Archive>
        <BuildDependencies>
            <Dependency>gnupg</Dependency>
            <Dependency>hspell</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>aspell-devel</Dependency>
            <Dependency>nuspell-devel</Dependency>
            <Dependency>hunspell-devel</Dependency>
            <Dependency>dbus-glib-devel</Dependency>
            <Dependency>libvoikko-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>enchant2</Name>
        <Summary>Spellchecker wrapping library</Summary>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>hunspell</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/enchant/enchant.ordering-2</Path>
        </Files>
    </Package>

    <Package>
        <Name>enchant2-aspell</Name>
        <Summary>aspell backend for enchant</Summary>
        <RuntimeDependencies>
            <Dependency>enchant2</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>aspell</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/enchant-2/enchant_aspell.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>enchant2-zemberek</Name>
        <Summary>zemberek backend for enchant</Summary>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>enchant2</Dependency>
            <Dependency>dbus-glib</Dependency>
            <Dependency>zemberek-office</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/enchant-2/enchant_zemberek.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>enchant2-nuspell</Name>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>icu4c</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>nuspell</Dependency>
            <!-- <Dependency>enchant2</Dependency> -->
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/enchant-2/enchant_nuspell.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>enchant2-hspell</Name>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>hspell</Dependency>
            <Dependency>enchant2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/enchant-2/enchant_hspell.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>enchant2-voikko</Name>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>enchant2</Dependency>
            <Dependency>voikko-fi</Dependency>
            <Dependency>libvoikko</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/enchant-2/enchant_voikko.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>enchant2-devel</Name>
        <Summary>Development files for enchant2</Summary>
        <RuntimeDependencies>
            <Dependency release="current">enchant2</Dependency>
            <Dependency>glib2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2022-12-02</Date>
            <Version>2.3.3</Version>
            <Comment>Version bump</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
        <Update release="3">
            <Date>2021-06-30</Date>
            <Version>2.3.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2020-01-18</Date>
            <Version>2.2.7</Version>
            <Comment>Version bump.</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="1">
            <Date>2019-04-06</Date>
            <Version>2.2.3</Version>
            <Comment>First release.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
    </History>
</PISI>
